package com.woniuxy.businessassembly.index;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;

/**
 * @author kevin kwok
 * @create 2021-05-31 10:26
 */
@Data
@Document(indexName = "hotelpolicy")
public class HotelPolicyIndex {
    /**
     * 酒店id
     */
    @Field(name = "hotel_id")
    private Integer hotelId;

    /**
     * 是否可以携带宠物。0不可以。1可以
     */
    @Field(name = "carrying_pets")
    private Integer carryingPets;

    /**
     * 是否可加床。0不客服。1可以
     */
    @Field(name = "extra_bed")
    private Integer extraBed;

    /**
     * 是否提供早餐。0不提供。1提供
     */
    @Field(name = "breakfast_served")
    private Integer breakfastServed;

    /**
     * 早餐提供形式。0上门。1自取
     */
    @Field(name = "breakfast_form")
    private Integer breakfastForm;

    /**
     * 早餐价格
     */
    @Field(name = "breakfast_price")
    private Double breakfastPrice;

    /**
     * 早餐营业时间
     */
    @Field(name = "breakfast_time")
    private String breakfastTime;

    /**
     * 是否有年龄限制。具体数字为限制的年龄。0为不限制
     */
    @Field(name = "is_adult")
    private Integer isAdult;

    /**
     * 支付方式。WeChat/AliPay
     */
    @Field(name = "payment_method")
    private String paymentMethod;
}
